//
//  NvAssetModel.h
//  NvSellerShow
//
//  Created by Meicam on 2017/2/18.
//  Copyright © 2017年 Meicam. All rights reserved.
//

#import <Foundation/Foundation.h>

#define NS_BUNDLE_RESERVED_THEME_DIR         @"reservedtheme"
#define NS_BUNDLE_RESERVED_STICKER_DIR       @"reservedanimatedsticker"
#define NS_BUNDLE_RESERVED_CAPTION_STYLE_DIR @"reservedcaptionstyle"
#define NS_BUNDLE_RESERVED_VIDEOTRANSITION  @"reservedvideotransition"
#define NS_COMMON_SUB_DIR_MAIN_IMAGE         @"mainimage"
#define NS_COMMON_SUB_DIR_DETAIL_VIDEO       @"detailvideo"


typedef NS_ENUM(NSInteger, NvAssetSubType) {
    NvAssetSubDetailVideo = 0,
    NvAssetSubMainImage
};

//corresponding to sdk NvsAssetPackageType
typedef NS_ENUM(NSInteger, NvAssetType) {
    NvAssetVideoFx = 0,
    NvAssetVideoTransition,
    NvAssetCaptionStyle,
    NvAssetAnimatedSticker,
    NvAssetTheme
};


@interface NvAssetModel : NSObject
- (instancetype)initWithPath:(NSString *)assetPath andId:(NSString *)assetId andType:(NvAssetType)type;


@property (nonatomic, assign) NvAssetType type;
@property (nonatomic, assign) NSInteger version;
@property (nonatomic, copy) NSString *assetId;
@property (nonatomic, copy) NSString *assetPath;
@property (nonatomic, copy) NSString *assetPackagePath;
@property (nonatomic, copy) NSString *licensePath;

@property (nonatomic, copy) NSString *displayName;
@property (nonatomic, copy) NSString *imageCoverPath;
@property (nonatomic, copy) NSString *previewVideoPath;


@end
